//
//  AccountingGroupData.swift
//  KoiAccounting
//
//  Created by 纪洪文 on 23.03.25.
//

import Foundation
import GRDB

struct AccountingDateGroupData {
    var date: String
    var categoryType: String
    var amountTotal: Double
    
    static func create(row:Row) -> AccountingDateGroupData {
        return AccountingDateGroupData(date: row["date"], categoryType: row["category_type"], amountTotal: row["amount_total"])
    }
}
